# С такими volumes удобно дебажить, не нужно пересобирать контейнер каждый раз при изменении кода
services:
  agent:
    volumes:
      - ".:/dp-agent"
    ports:
      - 4242:4242
  files:
    ports:
      - 3000:3000
    volumes:
      - "~/.deeppavlov/file_server:/tmp"
  sentseg:
    volumes:
      - "./annotators/SentSeg:/src"
    ports:
      - 8011:8011
  combined-classification:
    volumes:
      - "./common:/src/common"
      - "./annotators/combined_classification:/src"
    ports:
      - 8087:8087
  sentence-ranker:
    volumes:
      - "./services/sentence_ranker:/src"
      - "~/.deeppavlov/cache:/root/.cache"
    ports:
      - 8128:8128
  openai-api-chatgpt:
    volumes:
      - "./services/openai_api_lm:/src"
      - "./common:/src/common"
    ports:
      - 8145:8145
  doc-retriever:
    volumes:
      - "./annotators/doc_retriever:/src"
      - "./common:/src/common"
      - "./documents:/src/documents"
    ports:
      - 8165:8165
  dff-document-qa-llm-skill:
    volumes:
      - "./skills/dff_document_qa_llm_skill:/src"
      - "./common:/src/common"
      - "./documents:/src/documents"
    ports:
      - 8166:8166

version: "3.7"
